import axios from 'axios'
import {get, post} from './http'
// export const login = p => post('/account/login', p);

// 招聘详情
export const login = p => get('/miniemploy/findById', p)
// 招聘列表
export const listPeople = p => get('/miniemploy/list', p)
// 招聘重新发布或作废
export const findOne = p => post('/miniemploy/edit', p)
// 招聘发布
export const saveDisPeople = p => post('/miniemploy/save', p)
// 求职详情
export const listServiceRecord = p => get('/miniemployee/findById', p)
// 求职列表
export const listServiceXiangmu = p => get('/miniemployee/list', p)
// 求职重新发布或删除发布
export const saveServiceRecord = p => post('/miniemployee/edit', p)
// 求职发布
export const EvaluationOrderBy = p => post('/miniemployee/save', p)
// 市区数据接口
export const frontindex = p => get('/frontindex/getdiscrect', p)
// 我的求职修改保存
export const editallqiu = p => post('/miniemployee/editall', p)
// 我的招聘修改保存
export const editallzhao = p => post('/miniemploy/editall', p)
